package com.isesol.ime.service;

import com.google.common.collect.*;
import com.isesol.ime.dal.mapper.*;
import org.springframework.stereotype.*;

import javax.annotation.*;
import java.util.*;

/**
 * 规则类型
 *
 * @author peter zhang
 */
@Component
public class RuleTypeService{

	@Resource
	RuleTypeMapper ruleTypeMapper;

	public Map findAll(){

		Map m = Maps.newHashMap();

		m.put("items", ruleTypeMapper.findAll());

		return m;
	}

}
